package cd.md.iesson;

import java.util.Scanner;

public class Hero {
	public static void main(String[] args){
		String roleame;
		int health;
		byte damage;
		short defese;
		float weaponScaling;
		boolean isHot;
		
		
		Scanner scan =new Scanner(System.in);
		System.out.println("请输入英雄名:");
		roleame = scan.next();
		
		System.out.println("请输入生命值:");
		health = scan.nextInt();
		
		System.out.println("请输入攻击力:");
		damage = scan.nextByte();
		
		System.out.println("请输入防御力:");
		defese = scan.nextShort();
		
		System.out.println("请输入暴击率:");
		weaponScaling = scan.nextFloat();
		
		System.out.println("是否热门:");
		isHot = scan.nextBoolean();
		
		
		System.out.println("该英雄信息如下:");
		System.out.println("角色："+roleame );
		System.out.println("生命值："+health);
		System.out.println("攻击力："+damage);
		System.out.println("护甲："+defese);
		System.out.println("暴击率："+weaponScaling);
		System.out.println("是否热门英雄："+isHot);
		
	}

}
